/**
 * @FileName ConcreteReceiver.java
 * @Package com.designMode.command
 * -------------------------------------
 * @function Please write description of function
 * @Date 2016-1-6 上午11:48:45
 * -------------------------------------
 * Copyright (c) 2016,顾博君 All Rights Reserved.
 */
package com.designMode.command;

/**
 * @author 顾博君
 * @ClassName ConcreteReceiver
 * @Date 2016-1-6 上午11:48:45
 * @Function 具体接收者
 */
public class ConcreteReceiver extends Receiver {
    String name = "";

    public ConcreteReceiver(String name) {
        this.name = name;
    }

    @Override
    public void doSomething() {
        System.out.println("接收者" + name + ":执行命令");
    }
}
